package com.qf.data.goods.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.qf.data.base.entity.BaseEntity;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;


/**
 * (GoodsImage)表实体类
 *
 * @author makejava
 * @since 2022-07-06 14:13:37
 */
@Data
@ToString(callSuper = true)
@Accessors(chain = true)
public class GoodsImage extends BaseEntity implements Serializable {
    //商品图片id
    @TableId(type = IdType.AUTO)
    private Long id;
    //商品的外键 - goods_info关联
    private Long gid;
    //图片的地址
    private String image;
    //图片的描述
    private String info;
    //类型 0-非封面 1-封面
    private Integer type;
}


